package com.xqls.biz;

import com.xqls.dal.model.Remotecontrol;
import com.xqls.util.CommonResult;

import java.util.Date;

public interface RemotecontrolBiz {
	
	public CommonResult editRemote(Remotecontrol remotecontrol) ;
	
	public Remotecontrol queryByDeviceNo(String deviceNo);
	
	
	public Remotecontrol selectMaxTimeByDeviceNo(String deviceNo,String remoteType);
	
	public  Remotecontrol selectMaxTime(String remoteType);
	public CommonResult sendSwitchValve(Remotecontrol remotecontrol);

	public  CommonResult     waitResponse(Remotecontrol remotecontrol ,String waitType);
	
	public CommonResult samplingSetSend(Remotecontrol remotecontrol);
	
	 public CommonResult Reset(Remotecontrol remotecontrol);
	 public CommonResult calibration(String deviceNo,Date time,String remoteType);
	 public CommonResult valveChange(String deviceNo,String valveSetting,String treatment,
			 String highLevel,String lowLevel,String remoteType);
	

}
